<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/includes/main.jsp"%>

<h2 class="contentTitle"><hi:text key="编辑页面" parameterLanguageKeys="旅客"/></h2>
<form action="passengerSave.action?navTabId=passengerList&callbackType=closeCurrent&ajax=1" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
		<dl>
			<dt><hi:text key="旅客名" entity="Passenger"/>：</dt><dd><input type="text" name="passenger.name" class="textInput required" value="${passenger.name}" maxlength="30"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="证件号" entity="Passenger"/>：</dt><dd><input type="text" name="passenger.id_card" class="textInput required integer" value="${passenger.id_card}" alt="<hi:text key="请输入整数"/>"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="旅客类型" entity="Passenger"/>：</dt><dd><hi:select emu="passengerType" name="passenger.type"/></dd>			
		</dl>
		<dl>
			<dt><hi:text key="特殊价格" entity="Passenger"/>：</dt>
			<dd>
				<input type="hidden" name="passenger.specialPrice.id" value="${passenger.specialPrice.id}"/>
				<input type="text" class="textInput" name="passenger.hi_specialPrice.name" value="${passenger.specialPrice.name}"
					autocomplete="off" lookupGroup="passenger" lookupName="specialPrice" suggestClass="org.hi.trip.model.SpecialPrice" searchFields="name"/>
				<a class="btnLook" href="<hi:url>specialPriceLookup.action?lookup=1</hi:url>" lookupGroup="passenger" lookupName="specialPrice"><hi:text key="查找带回"/></a>		
			</dd>
		</dl>
				<input type="hidden" name="passenger.id" value="${passenger.id}"/>
				<input type="hidden" name="passenger.tripOrder.id" value="${passenger.tripOrder.id}"/>
				<input type="hidden" name="passenger.creator.id" value="${passenger.creator.id}"/>
				<input type="hidden" name="passenger.version" value="${passenger.version}"/>

		<div class="divider"></div>
			</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit"><hi:text key="保存"/></button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button"><hi:text key="关闭"/></button></div></div></li>
		</ul>
	</div>  
</div>
</form>
